package com.define.ssh.dao;

import java.math.BigInteger;
import java.util.Date;

import com.define.ssh.model.Compdept;
import com.define.ssh.util.Pager;

public interface CompdeptDao extends BaseDao<Compdept, Integer> {

	/**
	 * 查询部门有没子部门
	 * 
	 * @param pid
	 * @return
	 */
	public Integer getDeptCount(Integer pid);

	public int getTotalByDeptId(int id);
	
	public void delete1(int id);

}
